﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace ModelLayer
{
    [DataContract]
    public class Product
    {
        [DataMember]
        public int ProductId { get; set; }
        [DataMember]
        public string ProductName { get; set; }
        [DataMember]
        public int Amount { get; set; }
       // [DataMember]
       // public bool Active { get; set; }
        [DataMember]
        public bool Bought { get; set; }

        public Product(string productName)
        {
            this.ProductName = productName;
        }

        public Product()
        {
            
        }
    }
}
